import request, { post } from './request'

// 登录接口
export const login = (userData) => {
  return post('/auth/login', userData)
}

// 注册接口
export const register = (userData) => {
  console.log('发起调用')
  return post('/auth/register', userData)
}